package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.tinyideatech.common.core.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @author zhangy-5
 * @date 2019-09-09
 */
@Data
@TableName("car_code")
public class CarCode extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 激活码编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备编号
     */
    private String deviceId;

    /**
     * 激活码内容
     */
    private String code;

    /**
     * 激活码配置项
     */
    private String codeAttr;

    /**
     * 比特云所属产品
     */
    private String products;

    /**
     * 比特云所属模板
     */
    private String templates;

    /**
     * nabto编号
     */
    private String nabtoId;

    /**
     * 激活码特征项
     */
    private Integer features;

    private Integer type;

    private Integer status;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Double price;

    /**
     * 激活码修改时间
     */
    private Date updateTime;

    @TableLogic
    private String delFlag;

}
